home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / utility / 114 / print.doc < prev    next >
Encoding:
Text File  |  1987-03-19  |  4.5 KB  |  114 lines

  1.                                 PRINT.DOC
  2.                                 ---------
  3.                        Instructions for PRINT v2.4
  4.                               E.Meyer, 6/86
  5.  
  6.  
  7.      PRINT.COM is a file printing utility for all Z80 CP/M systems.  Only
  8. 1k in size, and quite fast, PRINT gives attractive, practical printouts of
  9. text files, with comfortable margins, and the filename and page number on
  10. each page top.  It also has several useful processing options.
  11.  
  12.  
  13. SYNTAX:        A>print filename.typ [options]
  14.  
  15.      If no options are specified, this will just print the entire file,
  16. with the filename and page number on each page header.  You can abort at
  17. any time by typing ^C.
  18.     "Options" from the list below may be specified in any order, with or
  19. without spaces between them.
  20.  
  21.  
  22. OPTIONS:
  23.  
  24. '@mm' - Begins actual printing "at" page number 'mm' (as counted by
  25.      PRINT).  If the file isn't that long, nothing will print.  The
  26.      default is of course "@1".
  27.  
  28. '#nn' - Prints out at most 'nn' pages.  The default is "#255".
  29.      (Note: PRINT cannot count beyond 255 pages.)
  30.  
  31. "comment" - Puts the quoted comment, up to about 50 characters, at the top
  32.      of each page, after the filename and page number.  Useful for adding
  33.      a date, or any other remarks.  (Uppercase conversion will occur.)
  34.  
  35. '-' - Suppresses the page header (no filename, page number, or comment).
  36.      Each page will hold 4 more lines as a result.
  37.  
  38. '?' - TYPEs the file on your screen, instead of printing it.  Good for
  39.      proofreading, finding pages you wish to print, etc.  The display
  40.      moves quickly; use ^S to pause and examine it.
  41.  
  42. (These last two are especially useful for WordStar files.)
  43.  
  44. '.' - Instructs PRINT to ignore WordStar dot commands.  Any lines that
  45.      begin with a period (after a hard carriage return) will NOT print
  46.      out when this option is in effect.
  47.  
  48. '^' - Selects control-code filtering.  All control codes (except CR and
  49.      LF) will be printed as a "^" followed by a letter, eg "^S", instead
  50.      of acting as control codes.  In this mode, a WordStar file will print
  51.      out much as it looks on your screen during editing.
  52.           In default mode, all control codes are sent directly out.  Thus
  53.      you can, for example, get files with tabs and formfeeds printed
  54.      properly, or put ESC codes for your printer in a file.
  55.  
  56.  
  57. EXAMPLES:
  58.  
  59. A>PRINT
  60.      No file is printed; only the initialization string (if any) is sent.
  61.  
  62. A>PRINT B:MY.DOC
  63.      This whole file will print out, with the filename and page number on
  64.      every page top.
  65.  
  66. A>PRINT B:MY.DOC .^
  67.      This file will be printed, with dot commands ignored, and control
  68.      codes filtered.  A good way to study a WordStar rough draft.
  69.  
  70. B>a:print my.doc #3"rough draft"
  71.      The first three pages of the file will be printed, with the comment
  72.      ROUGH DRAFT in the header on each page top.
  73.  
  74. A>PRINT B:MY.DOC @10#4 ?-
  75.      Pages 10 to 13 will be viewed on screen, with no page headers.
  76.  
  77.  
  78. USER PATCHES:
  79.  
  80.      You can make the following changes in PRINT.COM using DDT, SID, or
  81. an equivalent patching utility.
  82.      By default, PRINT prints 54 text lines per page, and the header
  83. takes another 4 lines, leaving 8 of the standard 66 lines blank for
  84. vertical margins.  This was chosen for compatibility with my FTNOTE
  85. program, which also prints 54 lines per page.  You can change this
  86. number to suit yourself by patching location 0110H in PRINT.COM.  The
  87. default value is 36H (54 lines).
  88.      You can also specify a printer initialization string, to set your
  89. printer margins, pitch etc the way you want, before the file is printed. 
  90. (Can also be sent to set up the printer for other programs, just by typing
  91. "A>PRINT".)  The string can consist of up to 46 bytes.  The length goes at
  92. address 0111H, and the bytes themselves at 0112-013FH.  The default is
  93. none (0).
  94.  
  95.  
  96. ERROR MESSAGES:
  97.  
  98. <NO FILE>             The file named does not exist.
  99. <BAD OPTION>          One or more options is invalid.
  100. <READ ERROR>          An error occurred in reading the file.
  101. <ABORTED>             You typed a ^C.
  102.  
  103.  
  104. RECENT HISTORY:
  105.  
  106.   PRINT 2.0 - Rewrote the C original in 8080 assembler.
  107.         2.1 - added better WordStar support.
  108.         2.2 - fixed bug that could prevent printing under CP/M 2.2.
  109.         2.3 - fixed bug that could print header comments incorrectly.
  110.         2.4 - rewrote in Z80 assembler; added printer initialization.
  111.  
  112.  
  113.     ------ Eric Meyer, 427 N. Washington, Bloomington IN 47401 ------
  114. əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə